package oop;

import java.util.Scanner;

public class TestMOD {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        double num = in.nextDouble();
        int count = 0;
        while (num >= 1) {
            num = num / 10;
            count = count + 1;
        }
        System.out.println("该数字的位数是:" + count);
    }
}
